//
//  Province.m
//  05-HomeWork
//
//  Created by dllo on 16/7/9.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Province.h"

@implementation Province
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {


}
- (void)setCityArr:(NSMutableArray *)cityArr {

    _cityArr = [NSMutableArray array];
    NSMutableArray *arr = [NSMutableArray array];
    for (NSDictionary *dic in cityArr) {
        City *city = [[City alloc] init];
        [city setValuesForKeysWithDictionary:dic];
        [arr addObject:city];
    }
    _cityArr = [NSMutableArray arrayWithArray:arr];
} 
@end
